package com.hzit.loan.repay.iclent.impl;

import com.hzit.loan.repay.iclent.IPayWebClient;
import com.hzit.payweb.api.req.PayReq;
import com.hzit.payweb.api.resp.RespVo;
import com.hzit.payweb.api.resp.data.PayRespData;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 支付服务容错方法
 */
@Component
public class PayWebClientImpl implements IPayWebClient {


    @Override
    public RespVo<PayRespData> pay(PayReq payReq) {
        //TODO
        return RespVo.returnFail(-1,"服务容错，请重试");
    }
}
